package io.renren.modules.generator.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.generator.entity.CouponEntity;

import java.util.Map;

/**
 * 优惠券列表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2023-04-16 23:24:56
 */
public interface CouponService extends IService<CouponEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByUserId(Long userId, Map<String, Object> params);

    Boolean batchCoupon(CouponEntity couponEntity);
}

